package com.struggle.myrabbitmq.sample;

/**
 * @className MyRabbitConstants
 * @Description TODO
 * @Author liuwj3
 * @Date 2019/9/19 0019 下午 4:00
 **/
public class MyRabbitConstants {
    private MyRabbitConstants() {
        throw new AssertionError("不能被实例化！");
    }

    /** 普通模式队列名字 */
    public static final String QUEUE_NAME_SIMPLE = "q_test_01";
    /** work模式队列名字 */
    public static final String QUEUE_NAME_WORK = "test_queue_work";
    /** 订阅模式使用：交换机名字 */
    public static final String EXCHANGE_NAME_FANOUT = "test_exchange_fanout";
    /** 订阅模式队列名*/
    public static final String QUEUE_NAME_SUBSCRIBE_1 = "q_test_subscribe1";
    /** 订阅模式队列名*/
    public static final String QUEUE_NAME_SUBSCRIBE_2 = "q_test_subscribe2";

    /** 路由模式下使用：交换机名字 */
    public static final String EXCHANGE_NAME_DIRECT = "test_exchange_direct";
    /** 路由模式队列名*/
    public static final String QUEUE_NAME_DIRECT_1 = "q_test_direct1";
    /** 路由模式队列名*/
    public static final String QUEUE_NAME_DIRECT_2 = "q_test_direct2";

    /** 主题模式下使用：交换机名字 */
    public static final String EXCHANGE_NAME_TOPIC = "test_exchange_topic";
    /** 主题模式队列名1*/
    public static final String QUEUE_NAME_TOPIC_1 = "q_test_topic1";
    /** 主题模式队列名2*/
    public static final String QUEUE_NAME_TOPIC_2 = "q_test_topic2";
}
